<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="test.php">
        用户：<input type="text">
        密码：<input typr="password"><br>
        性别：
        男：<input type="radio" name="gender" value="male">
        女：<input type="radio" name="gender" value="female"><br>
        爱好：
        篮球：<input type="checkbox" name="hobbies" value="basketball">
        足球：<input type="checkbox" name="hobbies" value="football">
        游泳：<input type="checkbox" name="hobbies" value="swimming">
        <hr>
        <select name="city">
            <optgroup label="一线">
                <option value="taiyuan">太原</option>
                <option value="datong">大同</option>
                <option value="jinzhong">晋中</option>
            </optgroup>
            <optgroup label="二线">
                <option value="shanghai">上海</option>
                <option value="beijin">北京</option>
                <option value="guangzhou">广州</option>
            </optgroup>
        </select>
        <textarea cols="30" rows="10"></textarea>
        <input type="date">
        <input
    </form>
</body>
</html>